projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128cc4a
)
add narrow-to-region + widen support
author
Andrea Corallo
<andrea_corallo@yahoo.it>
Sun, 11 Aug 2019 10:37:21 +0000
(12:37 +0200)
committer
Andrea Corallo
<akrl@sdf.org>
Wed, 1 Jan 2020 10:33:59 +0000
(11:33 +0100)
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index 6fa098e0eb47bdab9de184f9ab3234cb95cce788..357085ee479836f9ec54127b45c501210ab524b0 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-611,8
+611,12
@@
the annotation emission."
(byte-char-syntax auto)
(byte-buffer-substring auto)
(byte-delete-region auto)
- (byte-narrow-to-region)
- (byte-widen)
+ (byte-narrow-to-region
+ (comp-emit-set-call `(call Fnarrow_to_region
+ ,(comp-slot)
+ ,(comp-slot-next))))
+ (byte-widen
+ (comp-emit-set-call '(call Fwiden)))
(byte-end-of-line auto)
(byte-constant2)
(byte-goto